<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../static/css/layui.css" media="all"></link>
    <style>
        body{
            background-color: #9F9F9F;
        }
        #area{
            background-color: #D9D9D9;
        }
        .content{
            min-width: 350px;
            min-height: 500px;
            width: 350px;
            height: 500px;
            margin: auto;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }
        .content-title{
            font-size: 30px;
            text-align: center;
        }
        .content-item{
            padding: 10px;
        }
        .content-item .item-name{
            font-size: 15px;
            float: left;
            height: 40px;
            line-height: 40px;
        }
        .content-item .item-input{
            width: 68%;
            margin-left: 50px
        }
        .content-item .item-button{
            text-align: center;
        }
        .content-form{
            padding-top: 20px;
            margin: 0 auto;
            width: 300px;
            height: 330px;
        }

    </style>
</head>

<body>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<div class="content">
    <div id="area" >
        <form class="content-form" action="/user_login" method="post">
            <div class="content-title">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;陆</div>
            <div class="content-item">
                <div class="item-name">用户名:</div>
                <div class="item-input">
                    <input type="tel" name="name" lay-verify="required|phone" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="content-item">
                <div class="item-name">密码:</div>
                <div class="item-input">
                    <input type="tel" name="password" lay-verify="required|phone" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="content-item">
                <div class="item-name">角色:</div>
                <div class="item-input">
                    <input type="tel" name="role" lay-verify="required|phone" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="content-item">
                <div class="item-button">
                    <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="../static/layui.js" charset="utf-8"></script>
<script>
    layui.use(['form', 'layedit', 'laydate'], function(){

    });
</script>
</body>
</html>